//
//  EScrollerView.h
//  Everest
//
//  Created by 李其昌 on 14/12/17.
//  Copyright (c) 2014年 ThreeL. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol EScrollerViewDelegate <NSObject>

@optional

- (void)EScrollerViewDidClicked:(NSUInteger)index;

@end

@interface EScrollerView : UIView<UIScrollViewDelegate>

{
	CGRect viewSize;
    int currentPageIndex;
    
}
@property(nonatomic,strong)NSTimer *timer;
@property (nonatomic, retain)NSArray *imageArray;
@property (nonatomic, retain)NSArray *titleArray;
@property (nonatomic, retain)UIPageControl *pageControl;
@property (nonatomic, retain)UILabel *noteTitle;
@property (nonatomic, retain)UIScrollView *scrollView;
// 代理方法
@property(nonatomic,retain)id<EScrollerViewDelegate> delegate;
- (id)initWithFrameRect:(CGRect)rect ImageArray:(NSArray *)imgArr TitleArray:(NSArray *)titArr;
@end
